package sanshui.system.trade.db.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import sanshui.system.trade.db.entity.TradeWorker;
import sanshui.system.trade.db.entity.TradeWorkerExample;

public interface TradeWorkerMapper {
    long countByExample(TradeWorkerExample example);

    int deleteByExample(TradeWorkerExample example);

    int deleteByPrimaryKey(Long workerId);

    int insert(TradeWorker record);

    int insertSelective(TradeWorker record);

    List<TradeWorker> selectByExampleWithRowbounds(TradeWorkerExample example, RowBounds rowBounds);

    List<TradeWorker> selectByExample(TradeWorkerExample example);

    TradeWorker selectByPrimaryKey(Long workerId);

    int updateByExampleSelective(@Param("record") TradeWorker record, @Param("example") TradeWorkerExample example);

    int updateByExample(@Param("record") TradeWorker record, @Param("example") TradeWorkerExample example);

    int updateByPrimaryKeySelective(TradeWorker record);

    int updateByPrimaryKey(TradeWorker record);
}